package com.woniuxy.service;

import com.woniuxy.dto.PageWarehouseDto;
import com.woniuxy.dto.SaveWarehouseDto;
import com.woniuxy.dto.WarehouseDto;
import com.woniuxy.entity.WarehouseTable;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.param.DeleteWareHouseParam;
import com.woniuxy.param.ListWareHouseParam;
import com.woniuxy.param.SaveWarehouseParam;
import com.woniuxy.param.UpdateWarehouseParam;

import java.util.List;

/**
 * <p>
 * 仓库表 服务类
 * </p>
 *
 * @author zcx,ftl,gr,rhs
 * @since 2021-12-31
 */
public interface WarehouseTableService extends IService<WarehouseTable> {

    PageWarehouseDto listWareHouse(ListWareHouseParam listWareHouseParam);

    SaveWarehouseDto SaveWarehouse(SaveWarehouseParam saveWarehouseParam);

    Boolean updateWarehouse(UpdateWarehouseParam updateWarehouseParam);

    Boolean delWarehouse(List<Integer> warhouseIds);

    WarehouseDto getwarehouse(Integer id);
}
